﻿using Abp.Domain.Repositories;
using Laboratory.Entities.User;
using System;

namespace Laboratory.IRepositories.User
{
    public interface IAccountRepository : IRepository<Account, Guid>
    {

        /// <summary>
        /// 验证名称是否存在
        /// </summary>
        /// <param name="id">Id</param>
        /// <param name="name">名称</param>
        /// <param name="loginId">登录Id</param>
        /// <returns></returns>
        bool ExistsName(Guid? id, string name, string loginId);


    }
}
